/**
 * 
 */
package com.agrec.client.actors;


import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Alaa Gharbawi
 *
 */
public class Activity implements IsSerializable {

	/**
	 * Every action made by the user in the system is recorded as
	 * Activity 
	 */
	private int id;
	private String name;
	private String type;
	private String userName;
	private Date date;
	private int companyID;
	private int positionID;
	private int nameID;
	private int interviewID;
	
	public Activity() {
		id(0);
		name(new String());
		type(new String());
		userName(new String());
		date(new Date());
		companyID(0);
		positionID(0);
		nameID(0);
		interviewID(0);
	}
	
	public Activity(int id, String name, String type, String userName, Date date, int companyID, int positionID, int nameID, int interviewID ) {
		id(id);
		name(name);
		type(type);
		userName(userName);
		date(date);
		companyID(companyID);
		positionID(positionID);
		nameID(nameID);
		interviewID(interviewID);
	}

	public void id(int id) { this.id = id; }
	public int id() { return id; }
	
	public void name(String name) { this.name = name; }
	public String name() { return name; }
	
	public void type(String type) { this.type = type; }
	public String type() { return type; }
	
	public void userName(String userName) { this.userName = userName; }
	public String userName() { return userName; }
	
	public void date(Date date) { this.date = date; }
	public Date date() { return date; }
	
	public void companyID(int companyID) { this.companyID = companyID; }
	public int companyID() { return companyID; }
	
	public void positionID(int positionID) { this.positionID = positionID; }
	public int positionID() { return positionID; }
	
	public void nameID(int nameID) { this.nameID = nameID; }
	public int nameID() { return nameID; }
	
	public void interviewID(int interviewID) { this.interviewID = interviewID; }
	public int interviewID() { return interviewID; }

}
